<?php $this->render("header.php");?>

<div class="list_box">
   <div class="list_bor">
    <div class="site_nav w_980">
        你现在的位置：<a href="<?php echo $this->baseUrl;?>/" title="首页">首页</a> &gt;
        <?php if (!empty($this->type) && !empty($this->onetypename)) print <<<EOT
         <a href="{$this->onetypeurl}" title="{$this->onetypename}">{$this->onetypename}</a> &gt;
EOT;
?>
<a href="<?php echo $this->url($this->baseUrl,"", "list", "cid=" . $this->cid);?>" title="<?php echo $this->typename;?>"><?php echo $this->typename;?></a> &gt;
<span class="c_ora_red"><?php echo $this->content['title'];?></span>
    </div>
	<div class="w_986">
        <div class="list_sider f_l">
        	<h2 class="h2_title list_plate_bg f_family f_normal"><span class="more"></span><?php if (!empty($this->onetypename)) echo $this->onetypename; else echo $this->typename;?></h2>
            <div class="content list_plate_bg">
            	<ul class="list_sid_nav">
            	
            	<?php 
            	if (is_array($this->types))
            	foreach($this->types as $v){
            	$name = $v['name'];
            	$v_url = $this->url($this->baseUrl, "news", "list", "cid=" . $v['id']);
            	if ($this->cid==$v['id'])
            		$selected = ' class="selected" ';
            	else
            		$selected = "";
            	print <<<EOT
                	<li><a $selected href="$v_url" title="$name"><i class="icon_a icon_all"></i>$name</a></li>
EOT;
}?>
                </ul>
            	<div class="clear"></div>
            </div>
            <div class="list_sider_bot list_plate_bg"></div>
        </div>
        <div class="list_main f_r">
        	<div class="list_plate_bg main_top"></div>
            <div class="content list_plate_bg">
            	<div class="list_content">
                    <h1 class="h1_detail_title f_family f_normal"><?php echo $this->content['title'];?></h1>
                    <h2 class="h2_detail_title f_family f_normal"></h2>
                    <div class="detail_title_info"></div>
                    <div class="detail_text_content">
                    	<p><img width="266" height="354" src="<?php echo $this->baseUrl . $this->content['image'];?>" /></p>
                         <p><?php echo $this->content['author'];?></p>
                    	<p><?php echo $this->content['subtitle'];?></p>
                    	<p><?php echo $this->content['content'];?></p>
                    </div>
                </div>
<?php if (!empty($this->pageprenext)) echo $this->pageprenext;?>
<?php if (!empty($this->relations)) echo $this->relations;?>              
            	<div class="clear"></div>
            </div>
            <div class="list_plate_bg main_bot"></div>
        </div>
        <div class="clear"></div>
    </div>
  </div>

</div>

<?php $this->render("footer.php");?>
</body>
</html>